<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<style type="text/css">
		div{
			/*xiug*/
			height: 200px;
			width: 200px;
			border: 5px dashed red;
			background-color: yellow;
			margin: 100 auto;
			padding: 50px;
			/*默认情况是从padding开始平铺的*/
			background-image: url(../images/border.png);
			background-repeat: no-repeat;
			/*从内容开始平铺*/
			/*background-origin:content-box;*/
			/*从边框开始平铺*/
/*			background-origin: border-box;
*/		}
	</style>
	<body>
		<div></div>
	</body>
</html>
